/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fvs.edu.br;

/**
 *
 * @author Pedro Saraiva
 */
public class Principal {
    
    public static void main(String[] args) {
        Aluno a1 = new Aluno("Pedro", 1234);
        Aluno a2 = new Aluno("Maria", 1258);
        Aluno a3 = new Aluno("Ana", 1266);
        Subprogramas<Aluno> subAluno = 
                new Subprogramas<Aluno>();
        subAluno.salvar(a1);
        subAluno.salvar(a2);
        subAluno.salvar(a3);
        subAluno.exibir();
        
        Subprogramas<String> subString = 
                new Subprogramas<String>();
        subString.salvar("Pedro");
        subString.salvar("maria");
        subString.salvar("José");
        subString.exibir();
        
        
    }
    
}
